
// 表单设计规范
.el-form-item{
    margin-bottom: 16px;
    .el-form-item__label {
      padding: 0px 10px 0 0;
      }
    .el-form-item__error {
    padding-top: 1px;
    margin-left: 15px;
      }
  }
 .el-input__inner {
	 padding: 0 16px;
 }
 .el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before {
    content: '*';
    color: #E74550;
    margin-right: 0px;
}


//   提示
.el-message {
    top: calc(50% - 24px) !important;
    min-width: 106px !important;
    font-size: 14px;
    font-weight: 400;
    padding: 17px 18px 17px 8px;
    border: none;
    background: #FFFFFF;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    .el-message__content{
    color: $content-color !important;
    }
    .el-message-success {
      color: $succes-color;
    //   margin-right: 8px;
    }

}

.el-icon-success {
    color: $succes-color !important;
  //   margin-right: 8px;
  }

  
.cancelTextBtn{
    border-color:transparent !important;
    color: $extra-color;
    &:hover{
    background: $background-color !important;
    border-radius: 4px;
    border-color: $background-color !important;
    color: $content-color;
  }}


// 过滤样式
.el-table-filter{
box-shadow: 1px 4px 12px 0px rgba(0, 0, 0, 0.12);
border-radius: 4px;
border: none;

.el-table-filter__list {
    color: $content-color;
    padding: 5px 0;
    margin: 0;
    list-style: none;
    min-width: 100px;
    .el-table-filter__list-item{
        font-size: 12px;
        line-height: 24px;
        &:hover{
            background-color: #FFFFFF;
            color: $base-color;
        }
    }
    .el-table-filter__list-item.is-active {
        background-color: #FFFFFF;
        color: $base-color;
    }
} 
}

// 分页样式
.el-pager {
    .number {
        padding: 0 4px;
        background: #FFFFFF;
        vertical-align: top;
        display: inline-block;
        font-size: 13px;
        min-width: 35.5px;
        height: 32px;
        line-height: 32px;
        cursor: pointer;
        box-sizing: border-box;
        text-align: center;
        margin: 0;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 400;
        color: #666666;
        line-height: 31px;
        
        border: 1px solid #E3E3E3 !important;
  
     &:hover {
        border: 1px solid #3C69CA !important;

        }
    }
    .active{
        border: 1px solid #3C69CA !important;

    }
 
}

.el-textarea__inner{
    font-family: Source Han Sans CN;
}

.el-pagination.is-background {
    .btn-prev,  .btn-next,  .el-pager li {
    margin: 0 5px;
    background-color: #ffffff;
    color: #606266;
    min-width: 32px;
    border-radius: 4px;
        }
        
    .el-pager li:not(.disabled){
        &:hover{
            color: $base-color !important;
        }
        &.active {
        background-color: #3C69CA;
        color: #FFFFFF;
        border-radius: 4px;
        border-color: #3C69CA;
        &:hover{
            color: #FFFFFF !important;

        }
        }
    }
.el-input--mini .el-input__inner {
    height: 32px;
    line-height: 31px;
    }
}

.el-pagination__total {
    margin-right: 5px;
    font-weight: normal;
    color: #666666;
}
.el-pagination span:not([class*=suffix]), .el-pagination button {
    display: inline-block;
    font-size: 13px;
    min-width: 35.5px;
    height: 32px;
    line-height: 32px;
    vertical-align: top;
    box-sizing: border-box;
}
.el-pagination__editor.el-input {
    width: 36px;
    height: 32px;
    .el-input__inner {
        height: 32px;
    }
}
.el-pagination__jump {
    margin-left: 0;
    font-weight: normal;
    color: #606266;
}
.el-pagination__sizes .el-input .el-input__inner {
    font-size: 12px;
}
// 分页结束
.el-button.nopadding{
    padding: 12px 0;
}

.el-button--small{
    padding: 9px 15px
}

// mini按钮
.el-button--mini {
    padding: 5px 10px !important;
    // color: #3B69C9 ;
}
.el-button{
    &:hover{
        border-color: $base-color;
        background-color: #FFFFFF;
        color: $content-color;
    }
}
.el-button--text{
    &:hover{
        background-color: transparent;
        border-color: transparent;
        color: $base-color;
    }
}
.el-button--primary
{
    &:hover{
        background-color: #365EB5;
        color: #FFFFFF;
    }
    &.is-disabled{
        &:hover{
            background:  #3c69ca;
            border: 1px solid  #3c69ca;
        }
        background: #3c69ca;
        border: 1px solid #3c69ca;;
        opacity: 0.4;
    // border-radius: 6px;

    }
}

//按钮
// .el-button--default {
//     border: 1px solid transparent;
//     &:hover {
//         border: 1px solid $base-color;
//     }
// }

.el-dropdown-menu__item {
    width: 108px;
    text-align: center;
    padding: 0;
}

.batchDropdown{
    .el-dropdown-menu__item {
        width: 80px;
        text-align: center;
        padding: 0;
    }
    &.el-popper[x-placement^=bottom]{
        margin: 0 0 0 -2px
    }
    &.el-dropdown-menu{
        border: none;
    }
    .popper__arrow{
        display: none;
    }
}

// 开关样式

.el-switch__core {
    
    margin: 0;
    position: relative;
    width: 40px;
    height: 20px;
    border: 1px solid $placeholder-color;
    outline: 0;
    font-size: 12px;
    border-radius: 10px;
    box-sizing: border-box;
    background: $placeholder-color;
    transition: border-color .3s,background-color .3s;
    vertical-align: middle;
    &::before{
        content: "无";
        color: #fff;
        position: absolute;
        top: -2px;
        left: 18px;
    }
    &:after{
        position: absolute;
        top: -3px;
        left: -10px;
        border-radius: 100%;
        transition: all .3s;
        width: 24px;
        height: 24px;
        background-color: #F5F5F5;
    }

    
}
.el-switch.is-checked .el-switch__core{
    &::before{
        content: "有";
        color: #ffffff;
        position: absolute;
        top: -2px;
        left: 8px;
    }

    &::after {
        left: 100%;
        margin-left: -14px;
    }
}

.icongonggong_sousuo{
    color: $content-color;
}

.tablescope{
    margin-left: 10px;
    &.el-switch.is-checked .el-switch__core{
        &::before{
            content: "开"!important;
            top: -1px;
           
        }
    }
    .el-switch__core{
        &::before{
            content: "关" !important;
            top: -1px;

        }
    }
}
// 开关结束

// 空空如也
.empty{
   height:500px;
   display:flex;
   flex-direction:column;
   justify-content:center;
   align-items:center;
   font-size: 14px;
   color: $extra-color;
}

// 排序样式
.el-table {
    .sort-caret {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    position: absolute;
    left: 7px;
    }
  //   .sort-caret.ascending{
  //     border-top-color: $title-color;
  //     // top:10px
  
  //   }
  //    .ascending .sort-caret.ascending {
  //     border-bottom-color: $title-color;
  //     // bottom: 10px;
  // }
  }
  .el-table .sort-caret.ascending {
    border-bottom-color: $title-color;
    top: 9px;
  }
  .el-table .sort-caret.descending {
    border-top-color:$title-color;
    bottom: 11px;
  }
  


// message-box
.el-message-box__title {
    padding-left: 0;
    margin-bottom: 0;
    font-size: 16px !important;
    line-height: 1;
    color: #3e3e3e !important;
    font-weight: bold !important;
    font-family:Source Han Sans CN;
  }
  
.el-message-box {
    display: inline-block;
    width: 400px;
    padding: 0px;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: none !important;
    p{
        margin: 0;
    }
    .el-message-box__header{
      padding: 20px 30px 20px;
    }
    .el-message-box__headerbtn{
        top: 17px;
        right: 30px;
    }
    .el-message-box__content{
      padding: 0 30px ;
    }
    .el-message-box__btns{
      padding: 20px 30px 20px !important;
      
      .el-button--default:not(.el-button--primary){
      
        border-color:transparent !important;
        color: $extra-color;
        &:hover{
        background: $background-color !important;
        border-radius: 4px;
        border-color: $background-color !important;
        color: $content-color;
      }}
  
    }
  }
  .el-message-box--center{
    .el-message-box__headerbtn{
       display: none;
    }
  }

  .dialog_close{
    .el-dialog__headerbtn{
      display: unset !important;
      .el-dialog__close {
          font-size: 14px;
          color: #E3E3E3;
          &:hover{
              color: $base-color;
          }
      }
    }
  }

  // dialog
.dialogCard {
    .el-dialog__header {
    border-bottom: none;
    padding: 0px 30px;
    }
    .el-dialog__body{
        padding:0 30px !important;
    }
    .el-dialog__footer{
      border:none !important;
      padding: 20px 30px 20px ;
      .el-button{
          width: unset;
      }
      .el-button--default{
        
            border-color:transparent !important;
            color: $extra-color;
            &:hover{
            background: $background-color !important;
            border-radius: 4px;
            border-color: $background-color !important;
            color: $content-color;
          }}
    }
    .signfor_bg {
        background-color: #fff6eb;
        width: 400px;
        height: 25px;
        margin: 0px 0 10px -30px;
        line-height: 25px;
        color: #fba73b;
        font-size: 12px;
    }
  }

  


  //表格
.el-table tr  {
    td:first-child .cell,th:first-child .cell{
    padding-left: 30px !important;
    }
}

.avue-crud{
    .el-table tr  {
        td.el-table-column--selection .cell,th.el-table-column--selection .cell{
        padding-left: 10px !important;
        }
    }
}
// 面包屑
.el-breadcrumb__inner.is-link{
    font-size: 14px;
    font-weight: 400;
    color: #999999;
    &:hover{
    color: #999999;

    }
}

.el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner a, .el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{
    color: #3e3e3e;
}


.el-image-viewer__close{
    color:white
}